package com.plian.system.mapper.bpa;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.plian.system.dto.bpa.BpaFinancialPerformanceDTO;
import com.plian.system.dto.bpa.OperatingPerformanceDTO;
import com.plian.system.entity.bpa.BpaFinancialPerformance;
import com.plian.system.vo.bpa.BpaFinancialPerformanceVO;
import com.plian.system.vo.bpa.OperatingPerformanceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 财务绩效指标配置主表;(bpa_financial_performance)表数据库访问层
 *
 * @author : jatpeo
 * @date : 2022-12-16
 */
@Mapper
public interface BpaFinancialPerformanceMapper extends BaseMapper<BpaFinancialPerformance> {

    /**
     * @param page
     * @param bpaIndustryStandardConfigVO
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.plian.system.dto.bpa.BpaFinancialPerformanceDTO>
     **/
    IPage<BpaFinancialPerformanceDTO> pageList(IPage<Object> page, @Param("param") BpaFinancialPerformanceVO bpaIndustryStandardConfigVO);

    List<OperatingPerformanceVO> report(OperatingPerformanceDTO subsidiaryMixedReformDTO);

    Map<String, String> getChildMap(String root);
}